﻿namespace Test
{
    using System;

    using SchemeFileSystem;

    class Program
    {
        static void Main()
        {
            Scheme.Init();
            Scheme.CreateFolder("file://Users/Chris/Desktop/SchemeFolder");
            Scheme.CreateFolder("zip://test.zip/SchemeFolder");

            Scheme.CreateFile("file://Users/Chris/Desktop/SchemeFolder/test.txt", "Im a test from Scheme");
            Scheme.CreateFile("zip://test.zip/test.txt", "Im a test from Scheme Zip");

            Console.WriteLine(Scheme.ReadFile("file://Users/Chris/Desktop/SchemeFolder/test.txt"));
            Console.WriteLine(Scheme.Read<string>("zip://test.zip/test.txt"));

            Console.ReadLine();
        }
    }
}
